import config from "@/config";
import http from "@/utils/request";

export default {
	log: {
		list: {
			url: `${config.API_URL}/requestlog/page`,
			name: "日志列表",
			get: async function (params) {
				return await http.post(this.url, params);
			},
		},
		detail: {
			url: `${config.API_URL}/requestlog/detail`,
			name: "日志详情",
			get: async function (data) {
				return await http.get(this.url + "/" + data);
			},
		},
	},
};
